package com.htstar.ovms.device.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.htstar.ovms.device.api.entity.DeviceAlarmViolation;
import com.htstar.ovms.device.api.vo.AlarmUserNameTestVO;
import com.htstar.ovms.device.api.vo.AlarmUserNameVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 *
 * @author htxk
 * @date 2021-02-23 09:15:31
 */
@Mapper
public interface DeviceAlarmViolationMapper extends BaseMapper<DeviceAlarmViolation> {
    /**
     * JInZhu
     * 查找该车触发警报的行驶人员---条件根据车辆有效申请单找在行驶车辆
     * @param licCode
     * @return
     */
    AlarmUserNameVO getAlarmUserName(String licCode);
    /**
     * 测试获取历史违规警报
     */
    List<AlarmUserNameTestVO> test();
}
